package csel.view;

import java.util.Hashtable;

import csel.model.*;

public class AlexTestPlayground {
	public static void main(String args[])
	{
		Model m = new Model();
		GameFactory.newGame(((Occupation) new Smasher()),"Alex!",m);
		Entity player = m.getPlayerEntity();
		player.setTypeId("player");
		Weapon eqW = new Weapon(13);
		eqW.setDescription("STAB STAB STAB");
		player.setEquippedItem(eqW);
		Inventory i = player.getInventory();
		Weapon w = new Weapon(12);
		w.setTypeId("weapon");
		w.setDescription("Stab people!");
		i.addEquippableItem(w);
		Armor a = new Armor(12, "Armor");
		a.setTypeId("armor");
		a.setDescription("Wear me!");
		i.addEquippableItem(a);
		Potion p = new Potion("mdew");
		p.setTypeId("potion");
		p.setDescription("Drink me!");
		i.addUseableItem(p);
		
		StatusViewport sv = new StatusViewport(m);
		sv.setVisible(true);
	}
}
